package com.future.direction.data.http;

import com.future.direction.data.bean.BaseBean;
import com.future.direction.data.bean.CourseAlbumBean;
import com.future.direction.data.bean.MainHomeBean;
import com.future.direction.data.bean.UserInfoBean;
import com.future.direction.data.bean.UserSignatureBean;
import com.future.direction.data.bean.VersionBean;
import com.future.direction.data.bean.WeekRecommendBean;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ZHP on 2017/6/25.
 */

public interface ApiService {


    //APP升级接口
    @GET("/c2cApi/app/upgrade")
    Observable<BaseBean<VersionBean>> getVersion(@Header("Authorization") String authorization, @Query("versionName") String versionName, @Query("versionCode") String versionCode, @Query("channelSource") String channelSource);

    @POST("/c2cApi/app/upgrade")
    Observable<BaseBean<MainHomeBean>> getHomeData(@Body RequestBody body);


    //登录接口
    @POST("/auth/login")
    Observable<BaseBean<UserInfoBean>> login(@Body RequestBody body);

    //用户打卡记录接口
    @GET("/api/usersignature/findAll")
    Observable<BaseBean<UserSignatureBean>> usersignature();

    //课程每周推荐接口
    @GET("/api/weekrecommend/findAll")
    Observable<BaseBean<List<WeekRecommendBean>>> weekrecommend();

    //课程专辑列表接口
    @GET("/api/courseAlbum/findAll")
    Observable<BaseBean<List<CourseAlbumBean>>> courseAlbum(@Query("pageNumber") int pageNumber, @Query("pageSize") int pageSize);
    /*//自动放币助手-通知
    @POST("/c2cApi/ae/notice/callback")
    Observable<BaseBean<RespPayNoticeBean>> postPayNotice(@Header("authorization") String authorization, @Body RequestBody body);

    //自动放币助手-通知记录
    @GET("/c2cApi/ae/autoensurelist")
    Observable<BaseBean<RespPayNoticeBean>> getPayNoticeList(@Header("authorization") String authorization, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //自动放币助手-心跳
    @GET("/c2cApi/ae/heartbeat")
    Observable<BaseBean<EmptyBean>> getHeartBeat(@Header("authorization") String authorization, @Query("noticePermissionStatus") int noticePermissionStatus, @Query("alipayStatus") int alipayStatus);

    //交易的购买⻚⾯即售出⼴告单列表查询
    @GET("/c2cApi/c2cselladvert/query")
    Observable<BaseBean<HomeBean>> getBuyIndex(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //交易的出售⻚⾯即求购⼴告单列表查询
    @GET("/c2cApi/c2cbuyadvert/query")
    Observable<BaseBean<HomeBean>> getSaleIndex(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    @POST("/noticeApi/noticeList")
    Observable<BaseBean<NoticeListBean>> getNotice(@Body RequestBody body);

    //交易⻚⾯公告详情
    @POST("/noticeApi/noticeDetail")
    Observable<BaseBean<NoticeDetailBean>> getNoticeDetail(@Body RequestBody body);

    //交易⻚⾯banner
    @GET("/exchangeApi/banners/online")
    Observable<BaseBean<List<BannerBean>>> getBanner(@Query("type") String type, @Query("website") String website);

    //获取rsa 公钥接⼝
    @GET("/exchangeApi/common/rsa/publickey")
    Observable<BaseBean<PublicKeyBean>> getPublickey(@Query("r") String r);

    //注册⻚⾯发送短信验证码接⼝
    @POST("/exchangeApi/service/code")
    Observable<BaseBean<EmptyBean>> getSMSCode(@Header("authorization") String authorization, @Body RequestBody body);

    //注册
    @POST("/exchangeApi/user/phone-register")
    Observable<BaseBean<LoginBean>> register(@Header("authorization") String authorization, @Body RequestBody body);

    //登录⻚⾯校验⽤户输⼊的⼿机号是否注册
    @GET("/exchangeApi/user/need-captha")
    Observable<BaseBean<EmptyBean>> needCaptha(@Query("userName") String userName);

    //登录
    @POST("/exchangeApi/user/login")
    Observable<BaseBean<LoginBean>> login(@Header("authorization") String authorization);

    //退出登录
    @GET("/exchangeApi/user/logout")
    Observable<BaseBean<EmptyBean>> loginOut(@Header("authorization") String authorization);

    //⽤户基本信息接⼝
    @GET("/exchangeApi/user/basic")
    Observable<BaseBean<PersonInfoBean>> personInfo(@Header("authorization") String authorization);

    //校验⽤户是否绑定⾕歌验证码
    @GET("/exchangeApi/user/googlecode-query")
    Observable<BaseBean<GooglecodeBean>> gooleOnOff(@Header("authorization") String authorization);

    //修改登录密码
    @POST("/exchangeApi/user/login-password")
    Observable<BaseBean<EmptyBean>> modifyPassword(@Header("authorization") String authorization, @Body RequestBody body);

    //设置资⾦密码接⼝(当第⼀次设置资⾦密码时使⽤ 之后使⽤重置资⾦密码接⼝)
    @POST("/exchangeApi/user/paypassword-init")
    Observable<BaseBean<EmptyBean>> setPaypassword(@Header("authorization") String authorization, @Body RequestBody body);

    //重置资⾦密码接⼝
    @POST("/exchangeApi/user/pay-password")
    Observable<BaseBean<EmptyBean>> modifyPaypassword(@Header("authorization") String authorization, @Body RequestBody body);

    //开启/关闭免密⽀付
    @GET("/exchangeApi/user/freepaypwd-update")
    Observable<BaseBean<EmptyBean>> freepaypwd(@Header("authorization") String authorization, @Query("pwdFree") String pwdFree);

    //设置昵称
    @POST("/exchangeApi/user/nickname-config")
    Observable<BaseBean<EmptyBean>> modfiyNick(@Header("authorization") String authorization, @Body RequestBody body);

    //消息提醒
    @GET("/exchangeApi/user/message")
    Observable<BaseBean<MessageBean>> getMessage(@Header("authorization") String authorization, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //我的邀请
    @GET("/exchangeApi/activity-invite/info-query")
    Observable<BaseBean<InviteBean>> getInvite(@Header("authorization") String authorization, @Query("activityName") String activityName);

    //交易账户余额查询 默认值传 C2C
    @GET("/c2cApi/asset/accounts")
    Observable<BaseBean<List<BanlanceBean>>> getDealAccountBanlace(@Header("authorization") String authorization, @Query("accountKind") String accountKind);

    //钱包账户余额查询 默认值传 WALLET
    @GET("/exchangeApi/asset/accounts")
    Observable<BaseBean<List<BanlanceBean>>> getWalletAccountBanlace(@Header("authorization") String authorization, @Query("accountKind") String accountKind);

    //查询USDT对⼈⺠币价格接⼝
    @GET("/exchangeApi/common/usdtcny")
    Observable<BaseBean<UsdtcnyBean>> getusdtcny(@Header("authorization") String authorization);

    //查询资产充值地址接⼝  币种 如 USDT
    @GET("/exchangeApi/coin/transfer-in-address")
    Observable<BaseBean<DepositAddressBean>> transferIn(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("type") String type);

    //充值记录
    @GET("/exchangeApi/coin/deposit-coin-details")
    Observable<BaseBean<MoneyRecordBean>> depositRecord(@Header("authorization") String authorization, @Query("type") String type, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //提币⼿续费查询 key: 默认传 WITHDRAWMIN
    @GET("/exchangeApi/coin/withdraw-coinfee-query")
    Observable<BaseBean<WithdrawCoinfeeBean>> withdrawCoinfee(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("key") String key, @Query("type") String type);

    //提币
    @POST("/exchangeApi/coin/withdraw-coin")
    Observable<BaseBean<EmptyBean>> withdraw(@Header("authorization") String authorization, @Body RequestBody body);

    //提币记录
    @GET("/exchangeApi/coin/withdraw-coin-details")
    Observable<BaseBean<MoneyRecordBean>> withdrawRecord(@Header("authorization") String authorization, @Query("type") String type, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //账户之间的资⾦划转 WALLET： 钱包账户 C2C ：法币账户
    @POST("/exchangeApi/asset/finance-transfer")
    Observable<BaseBean<EmptyBean>> financeTransfer(@Header("authorization") String authorization, @Body RequestBody body);

    //交易奖励信息查询
    @GET("/c2cApi/c2creward/info")
    Observable<BaseBean<RewardInfoBean>> rewardInfo(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("year") String year, @Query("month") String month, @Query("day") String day);

    //交易奖励记录
    @GET("/c2cApi/c2creward/record")
    Observable<BaseBean<RewardRecordBean>> rewardRecord(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //推⼴分红信息查询
    @GET("/c2cApi/c2cinvitebonus/info")
    Observable<BaseBean<InvitebonusInfoBean>> invitebonusInfo(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("year") String year, @Query("month") String month, @Query("day") String day);

    //推⼴分红记录查询
    @GET("/c2cApi/c2cinvitebonus/record")
    Observable<BaseBean<InvitebonusRecordBean>> invitebonusRecord(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //挂单收益信息查询
    @GET("/c2cApi/c2cmakeadvertbonus/info")
    Observable<BaseBean<MakeadvertbonusInfoBean>> makeadvertbonusInfo(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("year") String year, @Query("month") String month, @Query("day") String day);

    //挂单收益记录查询
    @GET("/c2cApi/c2cmakeadvertbonus/record")
    Observable<BaseBean<MakeadvertbonusRecordBean>> makeadvertbonusRecord(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //查询累计及昨⽇代理奖励信息
    @GET("/c2cApi/c2cagencybonus/info")
    Observable<BaseBean<AgencybonusInfoBean>> agencybonusInfo(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("year") String year, @Query("month") String month, @Query("day") String day);

    //查询⽤户代理奖励记录
    @GET("/c2cApi/c2cagencybonus/record")
    Observable<BaseBean<AgencybonusRecordBean>> agencybonusRecord(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //充值奖励信息查询
    @GET("/c2cApi/c2cdepositbonus/info")
    Observable<BaseBean<DepositbonusInfoBean>> depositbonusInfo(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("year") String year, @Query("month") String month, @Query("day") String day);

    //充值奖励记录查询记录
    @GET("/c2cApi/c2cdepositbonus/record")
    Observable<BaseBean<DepositbonusRecordBean>> depositbonusRecord(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //发布售出⼴告单⻚⾯初始化信息
    @GET("/c2cApi/c2cselladvert/get-info")
    Observable<BaseBean<PublicSellBean>> selladvert(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //交易价格可溢价范围查询
    @GET("/c2cApi/c2cbasicinfo/premium-range-query")
    Observable<BaseBean<PremiumBean>> premium(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //发布售出⼴告 ⽀持的收款⽅式 字符串数组 按照 ALIPAY BANK WECHAT 顺序传⼊
    @POST("/c2cApi/c2cselladvert/info-deploy")
    Observable<BaseBean<EmptyBean>> publicSell(@Header("authorization") String authorization, @Body RequestBody body);

    //发布求购⼴告单⻚⾯初始化信息
    @GET("/c2cApi/c2cbuyadvert/get-info")
    Observable<BaseBean<PublicBuyBean>> buyadvert(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //发布售出⼴告 默认传值 中國 必须是繁体 默认传值 CNY
    @POST("/c2cApi/c2cbuyadvert/advert-deploy")
    Observable<BaseBean<EmptyBean>> publicBuy(@Header("authorization") String authorization, @Body RequestBody body);

    //确定买⼊售出⼴告
    @POST("/c2cApi/c2ctransaction/order-ensure")
    Observable<BaseBean<DealOrderBean>> buyOrder(@Header("authorization") String authorization, @Body RequestBody body);

    //查询求购⼴告详情信息
    @GET("/c2cApi/c2cbuyadvert/advert-detail")
    Observable<BaseBean<RequestBuyBean>> reqBuyadvert(@Header("authorization") String authorization, @Query("advertId") String advertId);

    //确定售出求购⼴告
    @POST("/c2cApi/c2ctransaction/order-ensure-sell")
    Observable<BaseBean<DealOrderBean>> sellOrder(@Header("authorization") String authorization, @Body RequestBody body);

    //我的委托单查看售出委托
    @GET("/c2cApi/c2cselladvert/myadvert-query")
    Observable<BaseBean<MyAdvertBean>> myAdvertSell(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //我的委托单查看购买委托
    @GET("/c2cApi/c2cbuyadvert/myadvert-query")
    Observable<BaseBean<MyAdvertBean>> myAdvertBuy(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //删除我的售出⼴告委托
    @GET("/c2cApi/c2cselladvert/advert-remove")
    Observable<BaseBean<EmptyBean>> removeMyAdvertSell(@Header("authorization") String authorization, @Query("advertId") String advertId);

    //删除我的购买⼴告委托
    @GET("/c2cApi/c2cbuyadvert/advert-remove")
    Observable<BaseBean<EmptyBean>> removeMyAdvertBuy(@Header("authorization") String authorization, @Query("advertId") String advertId);

    //订单中查看我的卖出/买⼊各状态下的订单信息
    //orderType：订单类型 BUY为我的买⼊ SELL为我的卖出
    //status： 订单状态 UNCOMPLETED 未完成 COMPLETED 已完成 COMPLAINNING 申诉中 CANCEL 已取消
    @GET("/c2cApi/c2ctransactionorderinfo/order-query")
    Observable<BaseBean<OrderBean>> getOrderList(@Header("authorization") String authorization, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize, @Query("orderType") String orderType, @Query("status") String status);

    //订单详情
    @GET("/c2cApi/c2ctransaction/order-detail")
    Observable<BaseBean<OrderDetailBean>> getOrderDetail(@Header("authorization") String authorization, @Query("transOrderId") String transOrderId);

    //买家点击确认⽀付
    @GET("/c2cApi/c2ctransaction/order-pay")
    Observable<BaseBean<EmptyBean>> orderPay(@Header("authorization") String authorization, @Query("transOrderId") String transOrderId);

    //卖家确定放币
    @GET("/c2cApi/c2ctransaction/transfor-ensure")
    Observable<BaseBean<EmptyBean>> transfor(@Header("authorization") String authorization, @Query("transOrderId") String transOrderId);

    //买家取消交易单
    @GET("/c2cApi/c2ctransaction/order-cancel")
    Observable<BaseBean<EmptyBean>> orderCancel(@Header("authorization") String authorization, @Query("transOrderId") String transOrderId);

    //⽤户发起申诉单
    @POST("/c2cApi/c2ccomplaint/complaint-add")
    Observable<BaseBean<EmptyBean>> complaintAdd(@Header("authorization") String authorization, @Body RequestBody body);



    //获取电话接口
    @GET("/c2cApi/c2ctransactionorderinfo/cellphone-query")
    Observable<BaseBean<String>> getPhone(@Header("authorization") String authorization, @Query("transOrderId") String transOrderId, @Query("otherId") String otherId);

    //⽤户实名认证信息提交
    @POST("/exchangeApi/certification/overseas/level1-authentication")
    Observable<BaseBean<EmptyBean>> setAuthentication(@Header("authorization") String authorization, @Body RequestBody body);

    //⽤户认证信息查询
    @GET("/exchangeApi/certification/overseas/basic-authentication-info")
    Observable<BaseBean<AuthenticationInfo>> getAuthenticationInfo(@Header("authorization") String authorization);

    //⽤户上传图⽚
    @Multipart
    @POST("/exchangeApi/common/upload-photo/private")
    Observable<BaseBean<UploadBean>> uploadPhoto(@Header("authorization") String authorization, @Part MultipartBody.Part file);

    //我的->法币设置 查询⽤户的⽀付渠道信息
//    @GET("/c2cApi/payconfig/c2cinfo-query")
//    Observable<BaseBean<List<C2cBasePayChannelDtoBean>>> getPayInfo(@Header("authorization") String authorization);

    //查询⽤户的⽀付宝渠道信息
    @GET("/c2cApi/payconfig/c2calipay-query")
    Observable<BaseBean<List<C2cBasePayChannelDtoBean>>> getAlipayInfo(@Header("authorization") String authorization);

    //查询⽤户的银⾏卡渠道信息
    @GET("/c2cApi/payconfig/c2cbank-query")
    Observable<BaseBean<BankListBean>> getBankInfo(@Header("authorization") String authorization);

    //查询⽤户的微信渠道信息
    @GET("/c2cApi/payconfig/c2cwechat-query")
    Observable<BaseBean<List<C2cBasePayChannelDtoBean>>> getWechatInfo(@Header("authorization") String authorization);

    //修改为⽀付宝默认帐号
    @GET("/c2cApi/payconfig/changealipay-status")
    Observable<BaseBean<EmptyBean>> changeAlipay(@Header("authorization") String authorization, @Query("id") String id);

    //修改为微信默认帐号
    @GET("/c2cApi/payconfig/changewechat-status")
    Observable<BaseBean<EmptyBean>> changeWechat(@Header("authorization") String authorization, @Query("id") String id);

    //修改为银⾏卡默认帐号
    @GET("/c2cApi/payconfig/changebank-status")
    Observable<BaseBean<EmptyBean>> changeBank(@Header("authorization") String authorization, @Query("id") String id);

    //删除阿⾥⽀付信息
    @GET("/c2cApi/payconfig/delealipay-config")
    Observable<BaseBean<EmptyBean>> deleAlipay(@Header("authorization") String authorization, @Query("id") String id);

    //删除银⾏卡⽀付信息
    @GET("/c2cApi/payconfig/delebank-config")
    Observable<BaseBean<EmptyBean>> deleBank(@Header("authorization") String authorization, @Query("id") String id);

    //删除微信⽀付信息
    @GET("/c2cApi/payconfig/delewechat-config")
    Observable<BaseBean<EmptyBean>> deleWechat(@Header("authorization") String authorization, @Query("id") String id);

    //设置⽀付宝⽀付信息
    @POST("/c2cApi/payconfig/c2calipay-config")
    Observable<BaseBean<EmptyBean>> setAlipay(@Header("authorization") String authorization, @Body RequestBody body);

    //设置银⾏卡⽀付信息
    @POST("/c2cApi/payconfig/c2cbank-config")
    Observable<BaseBean<EmptyBean>> setBank(@Header("authorization") String authorization, @Body RequestBody body);

    //设置微信⽀付信息
    @POST("/c2cApi/payconfig/c2cwechat-config")
    Observable<BaseBean<EmptyBean>> setWechat(@Header("authorization") String authorization, @Body RequestBody body);

    //修改阿⾥⽀付信息
    @POST("/c2cApi/payconfig/updatealipay-config")
    Observable<BaseBean<EmptyBean>> updatealipay(@Header("authorization") String authorization, @Body RequestBody body);

    //修改微信⽀付信息
    @POST("/c2cApi/payconfig/updatewechat-config")
    Observable<BaseBean<EmptyBean>> updateWechat(@Header("authorization") String authorization, @Body RequestBody body);

    //修改银⾏卡⽀付信息
    @POST("/c2cApi/payconfig/updatebank-config")
    Observable<BaseBean<EmptyBean>> updateBank(@Header("authorization") String authorization, @Body RequestBody body);

    //交易易及奖励统计1
    @POST("/dataStatistics")
    Observable<BaseBean<DataStatisticsnBean>> dataStatisticsn();

    //交易易及奖励统计2
    @GET("/newTrans")
    Observable<BaseBean<NewTransBean>> newTrans();

    //提币地址列表
    @GET("/exchangeApi/coin/transfer-out-address-query")
    Observable<BaseBean<CoinAddressBean>> getCoinAddress(@Header("authorization") String authorization, @Query("type") String type, @Query("assetCode") String assetCode, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //添加提币地址
    @POST("/exchangeApi/coin/transfer-out-address-add")
    Observable<BaseBean<EmptyBean>> addCoinAddress(@Header("authorization") String authorization, @Body RequestBody body);

    //删除提币地址
    @POST("/exchangeApi/coin/transfer-out-address-delete")
    Observable<BaseBean<EmptyBean>> deleteCoinAddress(@Header("authorization") String authorization, @Body RequestBody body);

    //查询任务奖励进度信息
    @GET("/c2cApi/c2cmissionbonus/info")
    Observable<BaseBean<MissionbonusBean>> missionbonus(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //领取任务奖励
    @GET("/c2cApi/c2cmissionbonus/receive")
    Observable<BaseBean<EmptyBean>> receiveiMssionbonus(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //获取头像
    @GET("/c2cApi/c2cbasicinfo/get-headphoto")
    Observable<BaseBean<String>> getHeadphoto(@Header("authorization") String authorization, @Query("assetCode") String assetCode);

    //保存上传头像
    @POST("/c2cApi/c2cbasicinfo/update-headphoto")
    Observable<BaseBean<EmptyBean>> updateHeadPhoto(@Header("authorization") String authorization, @Body RequestBody body);

    //兑换
    @POST("/exchangeApi/asset-exchange/exchange")
    Observable<BaseBean<EmptyBean>> exchangeMc(@Header("authorization") String authorization, @Body RequestBody body);

    //获取币种兑换价格列列列列表
    @GET("/exchangeApi/asset-exchange/price-list")
    Observable<BaseBean<List<SinglePriceBean>>> getPriceList();

    //查询MC对⼈⺠币价格接⼝
    @GET("/exchangeApi/common/mccny")
    Observable<BaseBean<UsdtcnyBean>> getMccny();

    //交易易必读接⼝口
    @GET("/c2ctranshelp")
    Observable<BaseBean<TranshelpBean>> transhelp();

    @FormUrlEncoded
    @POST("cardpp/v1/ocridcard")
    Call<CardInfoBean> getPhotoInfo(@FieldMap Map<String, Object> body);

    //每日总流水
    @GET("/c2cApi/c2cagencybonus/usersRecord")
    Observable<BaseBean<UsersRecordBean>> usersRecord(@Header("authorization") String authorization, @Query("mobile") String mobile, @Query("startTime") String startTime, @Query("endTime") String endTime, @Query("pageNo") String pageNo, @Query("pageSize") String pageSize);

    //获取首页信息(未登录)
    @GET("/c2cApi/homePage/{source}")
    Observable<BaseBean<HomeInfoBean>> getHomeInfo(@Path("source") String source);

    //获取首页信息
    @GET("/c2cApi/homePage/{source}")
    Observable<BaseBean<HomeInfoBean>> getHomeInfo(@Header("authorization") String authorization, @Path("source") String source);

    //获取高端服务
    @GET("/c2cApi/app/c2chighvpn")
    Observable<BaseBean<HighVpnBean>> highvpn(@Header("authorization") String authorization, @Query("channelSource") String channelSource, @Query("highIp") String highIp);

    //查询托管状态
    @GET("/c2cApi/payconfig/c2cwechat-query-id")
    Observable<BaseBean<String>> queryAuto(@Header("authorization") String authorization, @Query("id") String id);

    //查询用户测试得一笔交易是不是已经自动放币成功
    @GET("/c2cApi/c2cselladvert/isAuto/{id}")
    Observable<BaseBean<String>> isAuto(@Header("authorization") String authorization, @Path("id") String id);*/
}
